package VN.EDU.IMIC.DEVELOPER.VUVANLUANARRAY10;

public class view {
	public static void main(String[] args) {
String[][] Bangtraloi = new String[8][10];
String[] Bangdapan = new String[10];
Bangtraloi[0][0] = "A"; Bangtraloi[0][1] = "B"; Bangtraloi[0][2] = "A"; Bangtraloi[0][3] = "C"; Bangtraloi[0][4] = "C"; Bangtraloi[0][5] = "D"; Bangtraloi[0][6] = "E"; Bangtraloi[0][7] = "E"; Bangtraloi[0][8] = "A";Bangtraloi[0][9] = "D";
Bangtraloi[1][0] = "D"; Bangtraloi[1][1] = "B"; Bangtraloi[1][2] = "A"; Bangtraloi[1][3] = "B"; Bangtraloi[1][4] = "C"; Bangtraloi[1][5] = "A"; Bangtraloi[1][6] = "E"; Bangtraloi[1][7] = "E"; Bangtraloi[1][8] = "A";Bangtraloi[1][9] = "D";
Bangtraloi[2][0] = "E"; Bangtraloi[2][1] = "D"; Bangtraloi[2][2] = "D";Bangtraloi[2][3] = "D"; Bangtraloi[2][4] = "C"; Bangtraloi[2][5] = "B"; Bangtraloi[2][6] = "E"; Bangtraloi[2][7] = "E"; Bangtraloi[2][8] = "A";Bangtraloi[2][9] = "D";
Bangtraloi[3][0] = "C"; Bangtraloi[3][1] = "B"; Bangtraloi[3][2] = "A";Bangtraloi[3][3] = "E"; Bangtraloi[3][4] = "D"; Bangtraloi[3][5] = "C"; Bangtraloi[3][6] = "E"; Bangtraloi[3][7] = "E"; Bangtraloi[3][8] = "A";Bangtraloi[3][9] = "D";
Bangtraloi[4][0] = "A"; Bangtraloi[4][1] = "B"; Bangtraloi[4][2] = "D";Bangtraloi[4][3] = "C"; Bangtraloi[4][4] = "C"; Bangtraloi[4][5] = "D"; Bangtraloi[4][6] = "E"; Bangtraloi[4][7] = "E"; Bangtraloi[4][8] = "A";Bangtraloi[4][9] = "D";
Bangtraloi[5][0] = "B"; Bangtraloi[5][1] = "B"; Bangtraloi[5][2] = "E";Bangtraloi[5][3] = "C"; Bangtraloi[5][4] = "C"; Bangtraloi[5][5] = "D"; Bangtraloi[5][6] = "E"; Bangtraloi[5][7] = "E"; Bangtraloi[5][8] = "A";Bangtraloi[5][9] = "D";
Bangtraloi[6][0] = "B"; Bangtraloi[6][1] = "B"; Bangtraloi[6][2] = "A";Bangtraloi[6][3] = "C"; Bangtraloi[6][4] = "C"; Bangtraloi[6][5] = "D"; Bangtraloi[6][6] = "E"; Bangtraloi[6][7] = "E"; Bangtraloi[6][8] = "A";Bangtraloi[6][9] = "D";
Bangtraloi[7][0] = "E"; Bangtraloi[7][1] = "B"; Bangtraloi[7][2] = "E";Bangtraloi[7][3] = "C"; Bangtraloi[7][4] = "C"; Bangtraloi[7][5] = "D"; Bangtraloi[7][6] = "E"; Bangtraloi[7][7] = "E"; Bangtraloi[7][8] = "A";Bangtraloi[7][9] = "D";
Bangdapan[0]="D"; Bangdapan[1]="B"; Bangdapan[2]="D"; Bangdapan[3]="C"; Bangdapan[4]="C"; Bangdapan[5]="D"; Bangdapan[6]="A"; Bangdapan[7]="E"; Bangdapan[8]="A"; Bangdapan[9]="D";

controller objcontroller = new controller();
for(int i=0; i < Bangtraloi.length; i++){System.out.println("Diem cua hoc sinh"+ i + " la : " + objcontroller.diemhocsinh(Bangtraloi, Bangdapan)[i]);
	}
	}
}
